object fmDesigner: TfmDesigner
  Left = 0
  Top = 0
  Caption = #1054#1063#1045#1056#1045#1044#1068' '#1047#1040#1050#1040#1047#1054#1042' '#1044#1051#1071' '#1044#1048#1047#1040#1049#1053#1045#1056#1040
  ClientHeight = 573
  ClientWidth = 627
  Color = 15855081
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -14
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  PopupMenu = puForm
  Position = poDesktopCenter
  OnActivate = FormActivate
  OnClose = FormClose
  OnDeactivate = FormDeactivate
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 17
  object pgcMenager: TAdvPageControl
    Left = 0
    Top = 0
    Width = 627
    Height = 573
    ActivePage = atsReady
    ActiveFont.Charset = DEFAULT_CHARSET
    ActiveFont.Color = clTeal
    ActiveFont.Height = -13
    ActiveFont.Name = 'Tahoma'
    ActiveFont.Style = [fsBold]
    Align = alClient
    Font.Charset = DEFAULT_CHARSET
    Font.Color = clWindowText
    Font.Height = -13
    Font.Name = 'Tahoma'
    Font.Style = []
    ParentFont = False
    TabBackGroundColor = clBtnFace
    TabMargin.RightMargin = 0
    TabOverlap = 0
    Version = '2.0.0.3'
    PersistPagesState.Location = plRegistry
    PersistPagesState.Enabled = False
    TabOrder = 0
    OnChange = pgcMenagerChange
    object atsOrder: TAdvTabSheet
      Caption = ' '#1054#1041#1065#1040#1071' '#1054#1063#1045#1056#1045#1044#1068' '
      Color = 15855081
      ColorTo = clNone
      ParentShowHint = False
      ShowHint = False
      TabColor = clBtnFace
      TabColorTo = clNone
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object grdOrder: TDBGridEh
        Left = 3
        Top = 41
        Width = 614
        Height = 498
        Align = alCustom
        Anchors = [akLeft, akTop, akRight, akBottom]
        DataSource = dsOrder
        DynProps = <>
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -15
        Font.Name = 'Arial'
        Font.Style = []
        FooterParams.Color = clWindow
        IndicatorOptions = [gioShowRowIndicatorEh]
        ParentFont = False
        PopupMenu = puOrder
        ReadOnly = True
        TabOrder = 0
        OnDblClick = grdOrderDblClick
        OnDrawColumnCell = grdOrderDrawColumnCell
        Columns = <
          item
            Alignment = taCenter
            DynProps = <>
            EditButtons = <>
            FieldName = 'kind'
            Footers = <>
            KeyList.Strings = (
              '0'
              '1')
            PickList.Strings = (
              #1052#1086#1076#1091#1083#1100
              #1041#1072#1085#1085#1077#1088)
            Title.Alignment = taCenter
            Title.Caption = #1058#1080#1087
          end
          item
            Alignment = taCenter
            DynProps = <>
            EditButtons = <>
            FieldName = 'date_order'
            Footers = <>
            Title.Alignment = taCenter
            Title.Caption = #1044#1072#1090#1072
            Width = 141
          end
          item
            Alignment = taCenter
            Checkboxes = True
            DynProps = <>
            EditButtons = <>
            FieldName = 'quickly'
            Footers = <>
            KeyList.Strings = (
              '1'
              '0')
            Title.Alignment = taCenter
            Title.Caption = #1057#1088#1086#1095#1085#1086
            Width = 56
          end
          item
            Alignment = taCenter
            DynProps = <>
            EditButtons = <>
            FieldName = 'designerL'
            Footers = <>
            Title.Alignment = taCenter
            Title.Caption = #1044#1080#1079#1072#1081#1085#1077#1088
            Width = 100
          end
          item
            Alignment = taCenter
            DynProps = <>
            EditButtons = <>
            FieldName = 'customerL'
            Footers = <>
            Title.Alignment = taCenter
            Title.Caption = #1052#1077#1085#1077#1076#1078#1077#1088
            Width = 120
          end
          item
            Alignment = taCenter
            DynProps = <>
            EditButtons = <>
            FieldName = 'proportions'
            Footers = <>
            Title.Alignment = taCenter
            Title.Caption = #1060#1086#1088#1084#1072#1090
            Width = 69
          end>
        object RowDetailData: TRowDetailPanelControlEh
        end
      end
      object btnRefresh: TBitBtn
        Left = 8
        Top = 10
        Width = 153
        Height = 25
        Cursor = crHandPoint
        Caption = #1054#1041#1053#1054#1042#1048#1058#1068' '#1054#1063#1045#1056#1045#1044#1068
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clNavy
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        Layout = blGlyphBottom
        ParentFont = False
        TabOrder = 1
        OnClick = btnRefreshClick
      end
    end
    object atsReady: TAdvTabSheet
      Caption = ' '#1043#1054#1058#1054#1042#1067#1045' '
      Color = 15855081
      ColorTo = clNone
      TabColor = clBtnFace
      TabColorTo = clNone
      ExplicitLeft = 0
      ExplicitTop = 0
      ExplicitWidth = 0
      ExplicitHeight = 0
      object grdReady: TDBGridEh
        Left = 3
        Top = 40
        Width = 607
        Height = 499
        Hint = #1043#1086#1090#1086#1074#1099#1077' '#1079#1072#1076#1072#1085#1080#1103
        Align = alCustom
        Anchors = [akLeft, akTop, akRight, akBottom]
        DataSource = dsReady
        DynProps = <>
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -15
        Font.Name = 'Arial'
        Font.Style = []
        FooterParams.Color = clWindow
        IndicatorOptions = [gioShowRowIndicatorEh]
        ParentFont = False
        ParentShowHint = False
        ReadOnly = True
        ShowHint = True
        TabOrder = 0
        Columns = <
          item
            DynProps = <>
            EditButtons = <>
            FieldName = 'date_order'
            Footers = <>
            Title.Alignment = taCenter
            Title.Caption = #1044#1072#1090#1072
          end
          item
            DynProps = <>
            EditButtons = <>
            FieldName = 'num_asu_new'
            Footers = <>
            Title.Alignment = taCenter
            Title.Caption = #8470' '#1040#1057#1059
            Width = 105
          end
          item
            DynProps = <>
            EditButtons = <>
            FieldName = 'customerS'
            Footers = <>
            Title.Alignment = taCenter
            Title.Caption = #1052#1077#1085#1077#1076#1078#1077#1088
            Width = 138
          end
          item
            DynProps = <>
            EditButtons = <>
            FieldName = 'designerS'
            Footers = <>
            Title.Alignment = taCenter
            Title.Caption = #1044#1080#1079#1072#1081#1085#1077#1088
            Width = 95
          end
          item
            DynProps = <>
            EditButtons = <>
            FieldName = 'rec_id'
            Footers = <>
            Visible = False
          end>
        object RowDetailData: TRowDetailPanelControlEh
        end
      end
      object cmbInterval: TDBComboBoxEh
        Left = 3
        Top = 12
        Width = 192
        Height = 22
        AutoSize = False
        Ctl3D = True
        DataField = 'city'
        DynProps = <>
        EditButtons = <>
        Font.Charset = RUSSIAN_CHARSET
        Font.Color = clWindowText
        Font.Height = -15
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        Items.Strings = (
          #1079#1072' '#1076#1077#1085#1100
          #1079#1072' 3 '#1076#1085#1103
          #1079#1072' '#1085#1077#1076#1077#1083#1102
          #1079#1072' '#1084#1077#1089#1103#1094)
        KeyItems.Strings = (
          '1'
          '2'
          '3'
          '4')
        ParentCtl3D = False
        ParentFont = False
        TabOrder = 1
        Visible = True
      end
    end
  end
  object tmrOrder: TTimer
    Interval = 30000
    OnTimer = tmrOrderTimer
    Left = 32
    Top = 352
  end
  object qrOrder: TUniQuery
    Connection = dmGlobal.connGlobal
    SQL.Strings = (
      'SELECT'
      '  rec_id,'
      '  kind,'
      '  date_order,'
      '  quickly,'
      '  customer,'
      '  designer,'
      '  proportions'
      'FROM'
      '  orders.store'
      'WHERE'
      '  data_ready = 1 AND date_finish is null'
      'ORDER BY'
      '  quickly DESC,'
      '  date_order ASC')
    CachedUpdates = True
    AfterScroll = qrOrderAfterScroll
    Left = 24
    Top = 88
    object qrOrdercustomerL: TStringField
      FieldKind = fkLookup
      FieldName = 'customerL'
      LookupDataSet = dmGlobal.qrUsers
      LookupKeyFields = 'rec_id'
      LookupResultField = 'surname'
      KeyFields = 'customer'
      Size = 30
      Lookup = True
    end
    object qrOrderdesignerL: TStringField
      FieldKind = fkLookup
      FieldName = 'designerL'
      LookupDataSet = dmGlobal.qrUsers
      LookupKeyFields = 'rec_id'
      LookupResultField = 'surname'
      KeyFields = 'designer'
      Size = 30
      Lookup = True
    end
    object qrOrdercustomer: TLongWordField
      FieldName = 'customer'
    end
    object qrOrderdesigner: TLongWordField
      FieldName = 'designer'
    end
    object qrOrderrec_id: TLongWordField
      FieldName = 'rec_id'
    end
    object qrOrderkind: TByteField
      FieldName = 'kind'
      Required = True
    end
    object qrOrderdate_order: TDateTimeField
      FieldName = 'date_order'
    end
    object qrOrderquickly: TByteField
      FieldName = 'quickly'
      Required = True
    end
    object qrOrderproportions: TWideStringField
      FieldName = 'proportions'
      Size = 50
    end
  end
  object dsOrder: TDataSource
    DataSet = qrOrder
    Left = 24
    Top = 136
  end
  object puOrder: TPopupMenu
    Left = 34
    Top = 290
    object miChangingDesigner: TMenuItem
      Caption = #1055#1054#1052#1045#1053#1071#1058#1068' '#1044#1048#1047#1040#1049#1053#1045#1056#1040
      OnClick = miChangingDesignerClick
    end
  end
  object tryOrder: TTrayIcon
    Hint = #1047#1072#1103#1074#1082#1080
    BalloonFlags = bfInfo
    OnClick = tryOrderClick
    Left = 32
    Top = 408
  end
  object qrReady: TUniQuery
    Connection = dmGlobal.connGlobal
    SQL.Strings = (
      'SELECT'
      '  rec_id,'
      '  date_order,'
      '  quickly,'
      '  customer,'
      '  num_asu_new,'
      '  designer'
      'FROM'
      '  orders.store'
      'WHERE'
      
        '  (date_finish IS NOT NULL) AND (DATEDIFF(NOW(),date_finish) < 1' +
        ')'
      'ORDER BY'
      '  date_order ASC')
    Left = 360
    Top = 208
    object qrReadycustomerS: TStringField
      FieldKind = fkLookup
      FieldName = 'customerS'
      LookupDataSet = dmGlobal.qrUsers
      LookupKeyFields = 'rec_id'
      LookupResultField = 'surname'
      KeyFields = 'customer'
      Lookup = True
    end
    object qrReadydesignerS: TStringField
      FieldKind = fkLookup
      FieldName = 'designerS'
      LookupDataSet = dmGlobal.qrUsers
      LookupKeyFields = 'rec_id'
      LookupResultField = 'surname'
      KeyFields = 'designer'
      Lookup = True
    end
    object qrReadyrec_id: TLongWordField
      FieldName = 'rec_id'
    end
    object qrReadydate_order: TDateTimeField
      FieldName = 'date_order'
    end
    object qrReadyquickly: TByteField
      FieldName = 'quickly'
      Required = True
    end
    object qrReadycustomer: TLongWordField
      FieldName = 'customer'
    end
    object qrReadynum_asu_new: TLongWordField
      FieldName = 'num_asu_new'
    end
    object qrReadydesigner: TLongWordField
      FieldName = 'designer'
    end
  end
  object dsReady: TDataSource
    DataSet = qrReady
    Left = 360
    Top = 272
  end
  object puForm: TPopupMenu
    Left = 210
    Top = 282
    object MenuItem4: TMenuItem
      Caption = #1042#1045#1056#1057#1048#1071' 1.03'
    end
  end
end
